<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <meta contect="网易云音乐,QQ音乐,酷狗音乐,酷我音乐,哔哩哔哩,哔哩哔哩音乐,ZMuisc,真心音乐,真心音乐系统,Minecraft,MC,我的世界,我的世界插件,MC点歌系统" name="keywords">
    <meta content="ZMusic 全功能Minecraft点歌插件" name="description">
    <title>ZMusic - 全功能Minecraft点歌插件</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
    <meta content="Description" name="description">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <link href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" rel="stylesheet">
    <link href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css" rel="stylesheet">
    <script>
        (function () {
            const hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?56f1d253d768cc51d1665c3f3acf4966";
            const s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <script src="//cdn.zhenxin.xyz/static/js/autoGray.js"></script>
    <style>
        body:before {
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.3;
            z-index: -1;
            content: "";
            position: fixed;
            background: url(https://api.mmcee.cn/acgimg/acgurl.php) center/cover;
        }
    </style>
</head>
<body>
<div id="app"></div>
<script>
    window.$docsify = {
        // 名称
        name: 'ZMusic 使用文档',
        // 仓库链接
        repo: '//github.com/RealHeart/ZMusic',
        // 打开首页的路径
        coverpage: [
            '/zh-cn/',
            '/en-us/'
        ],
        // 加载导航栏
        loadNavbar: true,
        // 主题色 千叶蓝
        themeColor: '#0088FF',
        // 谷歌统计ID
        ga: 'UA-178490729-1',
        // 自定义插件
        plugins: [
            function (hook) {
                hook.afterEach(function (html) {
                    var footer = [
                        '<hr/>',
                        '<footer>',
                        '<span>&copy;2020 <a href="https://www.zhenxin.xyz">真心</a> & <a href="https://github.com/RealHeart/ZMusic">ZMusic</a> All Rights Reserved.</span>',
                        '&nbsp;',
                        '<span><a href="http://www.beian.miit.gov.cn/" target="_blank">辽ICP备19016520号</a></span>',
                        '</footer>'
                    ].join('');
                    return html + footer;
                });
                hook.init(function () {
                    // 支持的语言
                    const langs = ['zh-cn', 'en-us'];
                    // 获取浏览器语言
                    let lang = navigator.language || navigator.userLanguage;
                    lang = lang.toLowerCase();
                    let isSupportLang = false;
                    for (let i = 0; i < langs.length; i++) {
                        if (lang === langs[i]) {
                            isSupportLang = true;
                            window.location = '#/' + lang + '/';
                            break;
                        }
                    }
                    if (!isSupportLang) {
                        window.location = '#/en-us/';
                    }
                });
            }
        ]
    }
</script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/ga.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script>
    const gitalk = new Gitalk({
        clientID: 'cbdc4ea59cab095d1b5d',
        clientSecret: '43b4ba78c141ba1d553271215f4f44bb4e37d60b',
        repo: 'ZMusic-Comment',
        owner: 'RealHeart',
        admin: 'RealHeart',
        distractionFreeMode: false
    })
</script>
</body>
</html>
